package cn.xyy.common.domain.system.auth;

import cn.xyy.common.domain.mvc.PageParam;

public class RoleVO extends PageParam {

	private String id;
	private String name;
	private Integer levels;// 新增用户时只能赋予比自己级别低的角色
	private Integer status;// 角色状态1:正常;2:禁用
	private String description;
	private Integer dataScopeType;// 数据范围（1：全部数据权限 2：自定数据权限 3：本部门及以下数据权限4：本部门数据权限
									// 5：本人）
	// 自定义数据权限
	private String dataScopeList[];
	// 权限id
	private String permIdList[];

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevels() {
		return levels;
	}

	public void setLevels(Integer levels) {
		this.levels = levels;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDataScopeType() {
		return dataScopeType;
	}

	public void setDataScopeType(Integer dataScopeType) {
		this.dataScopeType = dataScopeType;
	}

	public String[] getDataScopeList() {
		return dataScopeList;
	}

	public void setDataScopeList(String[] dataScopeList) {
		this.dataScopeList = dataScopeList;
	}

	public String[] getPermIdList() {
		return permIdList;
	}

	public void setPermIdList(String[] permIdList) {
		this.permIdList = permIdList;
	}

}
